package com.kingyun.gpsinspection.purificationservice.dao.mapper.jsm;


import com.kingyun.gpsinspection.purificationservice.facade.model.jsm.Button;

import java.util.List;

public interface ButtonMapper {
    int deleteByPrimaryKey(String buttonId);

    int insert(Button record);

    int insertSelective(Button record);

    Button selectByPrimaryKey(String buttonId);

    int updateByPrimaryKeySelective(Button record);

    int updateByPrimaryKey(Button record);

    /**
     * @param list
     * @Author 卢曼成
     * @Description 批量添加
     * @Date 2017/2/8 17:17
     */
    int insertList(List<Button> list);

    /**
     * @param list
     * @Author 卢曼成
     * @Description 批量逻辑删除
     * @Date 2017/2/8 17:17
     */
    int deleteList(List<Button> list);

    /**
     * @param list
     * @Author 卢曼成
     * @Description 根据条件查询ID集合
     * @Date 2017/2/8 17:17
     */
    List<String> selectByListId(List<Button> list);
}